<?php
    $first = false;

    if (isset($specialHotels) && !empty($specialHotels))
        foreach ($specialHotels as $hotel):
            ?>  

            <li style="<? if ($first) echo 'display:none';$first = true; ?>">

                <!-- ADDED DURING CURRENCY UPGRADE -->

                <?php
                $currency = isset($_GET['currency']) ? '&currency=' . $_GET['currency'] : '';

                $obj_name = URLify::filter($hotel->object_name);
                $link_hotel = base_url('accommodation/' . $obj_name . '-' . $hotel->object_ID . '?preview=1&room_id=' . $hotel->lowest_price_room_id . $currency);
                ?>

                <a href="<?= $link_hotel ?>">

                    <div class="inner_text">

                        <span class="offer_type"><?= $hotel->category_name ?>!</span>

                        <?php
                        $star = 'width-0';
                        if ($hotel->object_number_of_stars != "")
                            $star = 'star-' . $hotel->object_number_of_stars;
                        ?>

                        <span class="star-5-big <?= $star ?>"></span>

                    </div>
                    <div class="inner_text inner_text2">

                        <span class="more-info"><?= $hotel->destination_name ?></span>

                        <span class="hotel-name">

                            <?php
                            $str = clean_html($hotel->object_name);

                            $lng = 40;

                            if (mb_strlen($str) > $lng)
                                $str = mb_substr($str, 0, $lng) . '...';
                            echo $str . '<br><span class="s_from">' . lang('from') . '</span><span class="s_price">' . currency_sign() . $hotel->lowest_price . '</span>';
                            ?>

                        </span>


                    </div>

                    <?php $thumbnail = $host_url . $hotel->photo_path . '/thumb_1110x550/' . $hotel->photo_name; ?>

                    <img src="<?= $thumbnail ?>" alt="<?= $hotel->object_name; ?>" width="1110" height="550" />

                </a>

            </li>
        <?php endforeach; ?>
        